#ifndef CHARACTERSELECTDIALOG_H
#define CHARACTERSELECTDIALOG_H
#pragma once
#include <QDialog>
#include <QButtonGroup>
class CharacterSelectDialog: public QDialog
{ Q_OBJECT
public:
    explicit CharacterSelectDialog(QWidget *parent = nullptr);
    int selectedId() const { return m_selectedId; } // 获取选择的角色ID
private:
    QButtonGroup *m_buttonGroup; // 管理角色按钮组
    int m_selectedId = -1;
    void setupUI();         // 默认未选择ch
// signals:
//     void characterSelected(int id);
};

#endif // CHARACTERSELECTDIALOG_H
